<?php echo $this->Session->flash(); ?>

<div id="loading" style="display: none;">
    <?php echo $this->Html->image('loading.gif', array('border' => "0", 'align' => 'center')); ?>
</div>

<table border="1" width="100%">
    <thead>
        <tr>
            <th></th>
</tr>
</thead>
<tbody>

</tbody>
</table>
<table id="tabla" class="tabla"  >
    <thead>
        <tr>

            <th>TEXTO</th>
            <th>Estado</th>
            <th colspan="3">Opciones</th>
        </tr>
    <tbody>
        <?php foreach ($requisitos as $rec): ?>
         
            
            <tr>

                <td><?php echo $rec['Requirement']['texto'] ?></td>
                <td><?php echo $rec['PropertyRequirement']['calificacion'] ?></td>
                <td><?php echo $this->Ajax->link("Calificar", array('controller' => 'PropertyRequirements', "action" => "edit", $rec['PropertyRequirement']['id']), array('update' => 'requisitos', 'indicator' => 'loading','complete'=>'formularioAjax()')) ?></td>
                <td></td>
                <td></td>

            </tr>
<?php endforeach; ?>
    </tbody>
</table>




